<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>


<head class="no-js" lang="en">
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>个人中心</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- favicon

		<link rel="shortcut icon" type="image/x-icon" href="img/favicon.png">

		<!-- All css files are included here. -->
<!-- Bootstrap framework main css -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- This core.css file contents all plugings css file. -->
<link rel="stylesheet" href="css/core.css">
<!-- Theme shortcodes/elements style -->
<link rel="stylesheet" href="css/shortcode/shortcodes.css">
<!-- Theme main style -->
<link rel="stylesheet" href="css/style.css">
<!-- Responsive css -->
<link rel="stylesheet" href="css/responsive.css">
<!-- User style -->
<link rel="stylesheet" href="css/custom.css">
<link rel="stylesheet" type="text/css" href="css/public.css" />
<link rel="stylesheet" type="text/css" href="css/mygxin.css" />

<!-- Modernizr JS -->
<script src="js/vendor/modernizr-2.8.3.min.js"></script>
</head>

<body>
	<div class="header-area header-middle">
		<div class="container-fluid">
			<div class="row">
				<div class="col-md-2 col-sm-3 col-xs-12">
					<div class="logo">
						<a href="menu/recommand.do"
							style="font-size: 50px; color: #333; letter-spacing: 3px; text-decoration: none; font-family: '方正舒体', cursive;">客多多</a>
					</div>

				</div>
				<div class="col-md-10 col-sm-9 col-xs-12 text-right xs-center">
					<div class="main-menu display-inline hidden-sm hidden-xs">
						<nav>
							<ul>
								<li><a href="menu/recommand.do">首页</a></li>
								<li><a href="cart.do">我的购物车</a></li>
							</ul>
						</nav>
					</div>


				</div>
			</div>
		</div>
	</div>
	<div class="space-custom"></div>
	<div class="breadcrumb-area">
		<div class="container">
			<ol class="breadcrumb">
				<li><a href="menu/recommand.do"><i class="fa fa-home"></i></a>
				</li>
				<li><a>个人中心</a></li>
			</ol>
		</div>
	</div>
	<div class="Bott">
		<div class="wrapper clearfix" style="width: 100%;">
			<div class="zuo fl" style="width: 15%;">
				<h3>
					<c:if test="${custom.c_img!=null }">
						<img
							src="showImg.do?c_name=${custom.c_name }&c_pwd=${custom.c_pwd}"
							style="width: 60px; height: 50px; border-radius: 50%; border: 5px solid #999; overflow: hidden;">
					</c:if>
					<c:if test="${custom.c_img==null }">
						<img src="images/unfind.jpg"
							style="width: 60px; height: 50px; border-radius: 50%; border: 5px solid #999; overflow: hidden;">
					</c:if>

					<p class="clearfix">
						<span class="fl">${custom.c_nick}</span><a href="loginOut.do">注销</a>
					</p>
				</h3>
				<div>

					<ul>
						<li><a href="order.do?c_id=${sessionScope.custom.c_id}" target="main">我的订单</a></li>
						<li><a href="mygrxx.jsp" target="main">个人信息</a></li>
						<li><a href="menu/selectwish.do" target="main">我的收藏</a></li>
						<li><a href="repwd.jsp" target="main">修改密码</a></li>
						<li><a href="showAddressByc_id.do" target="main">地址管理</a></li>
						<li><a href="findByCId.do" target="main">我的评论</a></li>
					</ul>

					<!--<h4>我的交易</h4>-->





				</div>
			</div>
			<div id="page-wrapper" style="float: left; width: 70%;">
				<div id="page-inner">
					<iframe id="external-frame" allowtransparency="true" scrolling="no"
						onload="setIframeHeight(this)" name="main" width="100%"
						height="100%" src="order.do?c_id=${sessionScope.custom.c_id}" frameborder="0"
						style="max-height: 1800px;"></iframe>
				</div>
			</div>
		</div>

	</div>
	<script type="text/javascript">
			function setIframeHeight(iframe) {
				if(iframe) {
					var iframeWin = iframe.contentWindow || iframe.contentDocument.parentWindow;
					if(iframeWin.document.body) {
						iframe.height = iframeWin.document.documentElement.scrollHeight || iframeWin.document.body.scrollHeight;
					}
				}
			};

			window.onload = function() {
				setIframeHeight(document.getElementById('external-frame'));
			};
		</script>
	<!-- /. WRAPPER  -->
	<!-- JS Scripts-->
	<!-- jQuery Js -->
	<!-- Bootstrap Js -->
	<script type="text/javascript" src="js/jquery-3.3.1.js"></script>
	<script type="text/javascript" src="js/bootstrap.js"></script>
	<script type="text/javascript" src="js/jquery.metisMenu.js"></script>
	<script type="text/javascript" src="js/custom-scripts.js"></script>
	</script>
</body>

</html>
